//
//  RegularValidateUtils.h
//  CarInterest
//
//  Created by Pierce on 2017/12/1.
//  Copyright © 2017年 Pierce. All rights reserved.
//

#import <Foundation/Foundation.h>



/**
 这是个正则判断的文件
 */
@interface RegularValidateUtils : NSObject

//邮箱
+ (BOOL) validateEmail:(NSString *)email;


//手机号码验证
+ (BOOL) validateMobile:(NSString *)mobile;


//车牌号验证
+ (BOOL) validateCarNo:(NSString *)carNo;


//车型
+ (BOOL) validateCarType:(NSString *)CarType;


//用户名
+ (BOOL) validateUserName:(NSString *)name;


//密码
+ (BOOL) validatePassword:(NSString *)passWord isAand1MustDoublExist:(BOOL)isDoubleExist;


//昵称
+ (BOOL) validateNickname:(NSString *)nickname;


//身份证号
+ (BOOL) validateIdentityCard: (NSString *)identityCard;


// 验证码
+ (BOOL)validateVerificationCode :(NSString *) number;


// 银行卡
+ (BOOL)validateBankCardNumber:(NSString *)bankCardNumber;


@end
